package com.xinzhidi.web.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhidi.web.equipment.domain.EquipmentArchivesRestore;
import com.xinzhidi.web.equipment.dto.EquipmentArchivesRestoreListDto;
import com.xinzhidi.web.equipment.vo.EquipmentArchivesRestoreListVo;

import java.util.List;


/**
 * 存档恢复记录Mapper接口
 *
 * @author ruoyi
 * @date 2023-07-21
 */
public interface EquipmentArchivesRestoreMapper  extends BaseMapper<EquipmentArchivesRestore>
{
    /**
     * 查询存档恢复记录
     *
     * @param id 存档恢复记录主键
     * @return 存档恢复记录
     */
    public EquipmentArchivesRestore selectEquipmentArchivesRestoreById(Long id);

    /**
     * 查询存档恢复记录列表
     *
     * @param equipmentArchivesRestore 存档恢复记录
     * @return 存档恢复记录集合
     */
    public List<EquipmentArchivesRestore> selectEquipmentArchivesRestoreList(EquipmentArchivesRestore equipmentArchivesRestore);

    /**
     * 新增存档恢复记录
     *
     * @param equipmentArchivesRestore 存档恢复记录
     * @return 结果
     */
    public int insertEquipmentArchivesRestore(EquipmentArchivesRestore equipmentArchivesRestore);

    /**
     * 修改存档恢复记录
     *
     * @param equipmentArchivesRestore 存档恢复记录
     * @return 结果
     */
    public int updateEquipmentArchivesRestore(EquipmentArchivesRestore equipmentArchivesRestore);

    /**
     * 删除存档恢复记录
     *
     * @param id 存档恢复记录主键
     * @return 结果
     */
    public int deleteEquipmentArchivesRestoreById(Long id);

    /**
     * 批量删除存档恢复记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentArchivesRestoreByIds(Long[] ids);

    List<EquipmentArchivesRestoreListVo> selectListNative(EquipmentArchivesRestoreListDto dto);
}
